package com.charity.service;

import com.charity.pojo.Donation;

import java.util.List;

public interface DonationService {

    List<Donation> bangDan(Integer month);

    Integer addDonation(Long id, Long donorId, String donorName, Long donationAmount, Long entryId, String createDate, String state) throws Exception;

    Donation selById(Long id) throws Exception;

    List<Donation> selByDonorId(Long donorId) throws Exception;

    List<Donation> selBySH();

    Integer updSh(Donation donation) throws Exception;

    List<Donation> selWTG();

    Integer delD(Long id) throws Exception;

    Integer updBC(Long entryId, String account);

    Integer upFF(Long id, String account);
}
